#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"). You may
# only use this file in accordance with the terms of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright 2016 Adam Stevko. All rights reserved.
#

include ../../../make-rules/shared-macros.mk

COMPONENT_NAME=	 	stress
COMPONENT_VERSION=	1.0.4
COMPONENT_FMRI=		benchmark/stress
COMPONENT_CLASSIFICATION=	Applications/System Utilities
COMPONENT_SUMMARY=	stress is a deliberately simple workload generator for POSIX systems. It imposes a configurable amount of CPU, memory, I/O, and disk stress on the system.
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH=	\
	sha256:057e4fc2a7706411e1014bf172e4f94b63a12f18412378fca8684ca92408825b
COMPONENT_PROJECT_URL=	http://people.seas.harvard.edu/~apw/stress/
COMPONENT_ARCHIVE_URL=	http://people.seas.harvard.edu/~apw/stress/$(COMPONENT_ARCHIVE)
COMPONENT_LICENSE =	GPLv2
COMPONENT_LICENSE_FILE=	COPYING

include $(WS_TOP)/make-rules/prep.mk
include $(WS_TOP)/make-rules/configure.mk
include $(WS_TOP)/make-rules/ips.mk

build:		$(BUILD_32_and_64)

install:	$(INSTALL_32_and_64)

test:		$(TEST_32_and_64)

include $(WS_TOP)/make-rules/depend.mk
